﻿#include "ExampleLayer.h"
#include "hzpch.h"
#include "Hazel.h"
#include "Renderer/RendererAPI.h"
#include "Renderer/RenderCommand.h"

// #include <Log.h>

ExampleLayer::ExampleLayer()
    : Layer("Example")
{
}

void ExampleLayer::OnUpdate()
{
    Hazel::RenderCommand::SetClearColor({0.1f, 0.1f, 0.1f, 1});
    Hazel::RenderCommand::Clear();
    // HZ_TRACE("ExampleLayer::OnUpdate");
}

void ExampleLayer::OnEvent(Hazel::Event &e)
{
    // HZ_TRACE("ExampleLayer::OnEvent: {0}", e.ToString());
}